package com.heima.api.config;

import com.heima.api.fallback.ArticleClientFallback;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @projectName: heima-leadnews
 * @package: com.heima.api.config
 * @className: FallbackConfig
 * @author: 躺着认真玩
 * @description: 配置类
 * @date: 2025/5/24 12:37
 * @version: 1.0
 */
@Component
@Configuration
public class FallbackConfig {
    @Bean
    public ArticleClientFallback articleClientFallback(){
        return new ArticleClientFallback();
    }
}
